﻿<%@ Page Language="C#" MasterPageFile="~/web.master" AutoEventWireup="true" CodeBehind="download_spada.aspx.cs" Inherits="Shuba.Web.download_spada"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<p>&nbsp;</p><p>&nbsp;</p>
<div align=center>
    <table width=50% cellpadding=3 cellspacing=3 border=0>
    <tr>
    <td align=center>
    <font face="Arial,Verdana" size="2">
    Untuk melakukan update aplikasi Sales Prospect Application (SPA) Desktop<br />
    Silahkan klik <a href="download_spada.aspx?id=d" target="_blank">download</a>
    </font>
    </td>
    </tr>
    <tr>
        <td align=center>
    <font face="Arial,Verdana" size="2">
    Untuk melakukan update aplikasi Sales Prospect Application (SPA) Mobile<br />
    Silahkan klik <a href="download_spada.aspx?id=m" target="_blank">download</a>
    
                    </font>
                </td>
            </tr>
        </table>
    </div>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <%
    if (Request.QueryString["id"] == "d")
    {
        string vFileName = "spada.rar";
        Response.Clear();
        Response.AddHeader("Content-Disposition", "attachment; filename=" + vFileName);
        Response.ContentType = "application/octet-stream";
        Response.WriteFile("SPADAApps/" + vFileName);
        Response.End();
    }
    else if (Request.QueryString["id"] == "m")
    {
        string vFileName = "spamobile.apk";
        Response.Clear();
        Response.AddHeader("Content-Disposition", "attachment; filename=" + vFileName);
        Response.ContentType = "application/octet-stream";
        Response.WriteFile("SPADAApps/" + vFileName);
        Response.End();
    }
    %>
</asp:Content>
